@import './modules/reset.scss';
@import './modules/header.scss';
@import './modules/footer.scss';

.g-bd {
  height: 2000px;
  .swiper-pagination-customs {
    width: 30px;
    height: 4px;
    display: inline-block;
    background: #000;
    opacity: .3;
    margin: 0 5px;
  }
  .swiper-container {
    .swiper-button-prev {
      z-index:10;
      width:40px;
      height: 60px;
      opacity: .37;
      background-color:#727272;
     
  
    }
    .swiper-button-next{
      z-index:10;
      width:40px;
      height: 60px;
      opacity: .37;
      background-color:#727272;
    }
 }
//新品首发
  .m-indexPopularItem {
      height: 596px;
      background: #7c552a;
      .g-row {
        width: 1090px;
        margin-right: auto;
        margin-left: auto;
        position: relative;
       
        //头部
        .tab-top {
          overflow: hidden;
          // margin-top: 60px;
          padding-top:90px;
          width: 1116px;
          margin-left: -13px;
          margin-bottom: -50px;
          .tabList {
            margin-left: 10px;
          }
          .item {
            text-align: center;
            float: left;
            font-size: 16px;
            width: 111px;
            height: 50px;
            line-height: 50px;
            color: #ffcd8e;
           .tab-sel {
            color: #fff;
            background-color: #658d2f;
           }
          }
        }
         //展示
        .showContainer {
          overflow: hidden;
          width: 1116px;
          margin-left: -13px;
          height: 423px;
          background-image: url(/images/border1.png);
          padding-top: 60px;
          padding-left: 12px;
          a:hover {
            img {
              transform: scale(1.2 ,1.2);
              // animation-duration: 10s;
            }
          }
        }
      
        .m-product {
        background-image: url(/images/border2.png);
        overflow: hidden;
        position: relative;
        width: 249px;
        height: 305px;
        float: left;
        margin-left: 18px;
        text-align: center;
        .hd {
          // float: left;
          margin-bottom: 22px;
          img {
            // float: left;
            width: 180px;
            height: 170px;
            margin-top: 28px;
            overflow: hidden;
            transition: transform 1s;
        }  
        }
        .bd {
          width: 100%;
          position: absolute;
          height: 70px;
          bottom: 0;
          padding: 10px 0 0;
          .name {
            margin-bottom: 13px;
            color: #472615;
            height: 20px;
            padding: 0 10px;
            font-size: 14px;

          }
          p {
            text-align: center;
            font-weight: 700;
            height: 15px;
            line-height: 15px;
            .carnival-price{
              background-color: #d52b33;
              font-size: 12px;
              color: #fff;
              padding: 0 5px;
              margin-right: 8px;
            }
          }
            span {
              color: #472615;
              font-size: 13px;
            }
        }
        }
      }
  }
   
}

 //图书文具
.m-newCates {
    margin-top: 60px;
    padding-bottom: 60px;
    .g-row{
      width: 1090px;
      margin-right: auto;
      margin-left: auto;
      position: relative;
      .m-newCate {
        width: 1090px;
        margin-top: 40px;
        .hd {
          margin-bottom: 20px;
          display: flex;
          justify-content: space-between;
          .left {
            // float: left;
            .name {
              margin-right: 10px;
              font-size: 26px;
              color: #1a1a1a;
            }
        
          }
          .right {
            // float: right;
            .getMore {
              display: inline-block;
              font-size: 14px;
              padding-left: 30px;
              margin-top: 14px;
              color: #333;
            }
          }
        }
       } 
      //  .m-newCate-content {
        // display: flex;
        // justify-content: center;
       .banner-bgColor {
         width: 258px;
         height: 534px;
         float: left;
         background: {
          image: url(/images/border3.png);
          repeat: no-repeat;
          
          display: inline-block;
          vertical-align: top;
         }
          img {
            width: 210px;
            height: 370px;
            margin-top: 40px;
            margin-left: 22px;
          }
       }
       .bd {
        float :right;
        width: 832px;
        height: 534px;
        overflow: hidden;
        background: {
          image: url(/images/border4.png);
          repeat: no-repeat;
        }
        .itemList {
          margin-left: 10px;
          &-top {
          float: left;
          margin: 25px 0 0 15px;
          .cates-product {
            width: 184px;
            height: 223px;
            background: {
              image: url(/images/border5.png);
              repeat: no-repeat;            
            }
            &-hd {
              background-color: transparent;
              height: 153px;
              padding-top: 15px;
              a {
                width: 100%;
                height: 100%;
                position: relative;
                color: #333;
                &:hover{
                  img{
                    transform: scale(1.2,1.2);
                  }
                  
                }
                img {
                  position: relative;
                  width: 130px;
                  height: 100%;
                  margin-left: auto;
                  margin-right: auto;
                  display: block;
                }
              }
            }
      &-bd {
        // width: 130px;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        margin-top: 10px;
        color: #333;
          .product-name{
          width: 80%;
          margin-left: auto;
          margin-right: auto;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
            >a {
              color: #333;
            }
          }
         .product-price{
          margin-top: 10px;
          }             
          }
          }
          }
        }
       }      
    }
}